package com.pay.util;

/* ***************************************
 *                                       *
 *  @dookay.com Internet make it happen  *
 *  ----------- -----------------------  *
 *  d d d   d d d  Defending your name   *
 *  o    o      o  I am here, as always  *
 *  k     k     k  As the Goddess wills  *
 *  a    a      a  Your magic is mine    *
 *  y y y   y y y  Don't worry Be happy  *
 *  ----------- -----------------------  *
 *  @dookay.com Internet make it happen  *
 *            认真写BUG                  *
 *               LGY                     *
 ****************************************/


public class YinLianPayConfig {

    //读取资源配置参数
    //  private String APIurl = "https://qr.chinaums.com/netpay-route-server/api/";
    private String APIurl = "https://qr-test2.chinaums.com/netpay-route-server/api/";
    private String mid = "898310148160568";
    private String tid = "00000001";
    private String instMid = "APPDEFAULT";
    private String msgSrc = "WWW.TEST.COM";

    private String msgType_order="trade.precreate";
    private String msgType_refund = "refund";
    private String msgType_secureCancel = "secureCancel";
    private String msgType_secureComplete = "secureComplete";
    private String msgType_close = "close";
    private String msgType_query = "query";
    final private static String msgType = "WXPay.jsPay";
    final private static String msgSrcId = "3194";
    final private static String apiUrl_makeOrder = "https://qr-test2.chinaums.com/netpay-portal/webpay/pay.do";
    final private static String notifyUrl = "http://172.27.49.240:8080/publicpay/notifyUrl.do";
    final private static String returnUrl = "http://172.27.49.240:8080/publicpay/returnUrl.do";
    private static String md5Key = "fcAmtnx7MwismjWNhNKdHC44mNXtnEQeJkRrhKJwyrW2ysRR";

    public String getAPIurl() {
        return APIurl;
    }

    public void setAPIurl(String APIurl) {
        this.APIurl = APIurl;
    }

    public String getMid() {
        return mid;
    }

    public void setMid(String mid) {
        this.mid = mid;
    }

    public String getTid() {
        return tid;
    }

    public void setTid(String tid) {
        this.tid = tid;
    }

    public String getInstMid() {
        return instMid;
    }

    public void setInstMid(String instMid) {
        this.instMid = instMid;
    }

    public String getMsgSrc() {
        return msgSrc;
    }

    public void setMsgSrc(String msgSrc) {
        this.msgSrc = msgSrc;
    }

    public String getMsgType_order() {
        return msgType_order;
    }

    public void setMsgType_order(String msgType_order) {
        this.msgType_order = msgType_order;
    }

    public String getMsgType_refund() {
        return msgType_refund;
    }

    public void setMsgType_refund(String msgType_refund) {
        this.msgType_refund = msgType_refund;
    }

    public String getMsgType_secureCancel() {
        return msgType_secureCancel;
    }

    public void setMsgType_secureCancel(String msgType_secureCancel) {
        this.msgType_secureCancel = msgType_secureCancel;
    }

    public String getMsgType_secureComplete() {
        return msgType_secureComplete;
    }

    public void setMsgType_secureComplete(String msgType_secureComplete) {
        this.msgType_secureComplete = msgType_secureComplete;
    }

    public String getMsgType_close() {
        return msgType_close;
    }

    public void setMsgType_close(String msgType_close) {
        this.msgType_close = msgType_close;
    }

    public String getMsgType_query() {
        return msgType_query;
    }

    public void setMsgType_query(String msgType_query) {
        this.msgType_query = msgType_query;
    }

    public static String getMsgType() {
        return msgType;
    }

    public static String getMsgSrcId() {
        return msgSrcId;
    }

    public static String getApiUrl_makeOrder() {
        return apiUrl_makeOrder;
    }

    public static String getNotifyUrl() {
        return notifyUrl;
    }

    public static String getReturnUrl() {
        return returnUrl;
    }

    public static String getMd5Key() {
        return md5Key;
    }

    public static void setMd5Key(String md5Key) {
        YinLianPayConfig.md5Key = md5Key;
    }
}
